package com.gao.service;

import com.gao.pojo.User;

import java.util.List;

/**
 * @Author: ShanYuqing
 * @Version: v1.0
 */

public interface UserService {
    //查询所有用户
    List<User> findAll();
    //添加用户
    void addUser(User user);
    User findUserById(Long id);

    void updateUser(User user);
    void delUserById(Long id);
}
